package com.gxz.service.impl;

import com.gxz.mapper.LoggerMapper;
import com.gxz.service.LoggerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoggerServiceImpl implements LoggerService {

    @Autowired
    private LoggerMapper loggerMapper;

    @Override
    public void log(String message) {
        loggerMapper.insertLog(message);

    }
}
